/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kontrol;

import Koneksi.Koneksi;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;
import com.mysql.jdbc.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author BIMO
 */
public class kontrolKIA {

    ResultSet rs = null;
    PreparedStatement pst = null;
    private Connection conn;

    public kontrolKIA(Connection koneksi) {
        this.conn = koneksi;
    }

    public static kontrolKIA getkoneksi() throws SQLException {
        kontrolKIA kon = new kontrolKIA((Connection) Koneksi.ConnectDb());

        return kon;
    }

}
